package com.shop.entity;

import com.shop.core.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author lpx610
 * @since 2023-10-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UmsAdmin extends BaseEntity {

    private static final long serialVersionUID = 1L;

    public UmsAdmin(String id) {
        super(id);
    }

    /**
     * 登录用户名
     */
    private String username;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 1-男 0-女
     */
    private Integer gender;

    /**
     * 头像
     */
    private String icon;

    /**
     * 激活
     */
    private Boolean active;

    /**
     * 排序
     */
    private Long sort;


}
